Add test_bindings back into the build -- it isn't integrated with the normal
authorEwan Mellor <ewan@xensource.com>
Tue, 28 Nov 2006 17:04:32 +0000 (17:04 +0000)
committerEwan Mellor <ewan@xensource.com>
Tue, 28 Nov 2006 17:04:32 +0000 (17:04 +0000)
targets, because it introduces an additional dependency (libcurl), but
make test/test_bindings does the right thing.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/libxen/Makefile

index c944b952159ef112919adfe764698e5e3f312c04..6bf5d2fc25c4d5ad86c281fc44477febf0c99c5a 100644 (file)
@@ -48,6 +48,9 @@ libxenapi.so.$(MAJOR).$(MINOR): $(LIBXENAPI_OBJS)
 libxenapi.a: $(LIBXENAPI_OBJS)
        $(AR) rcs libxenapi.a $^
 
+test/test_bindings: test/test_bindings.o src/libxen.so
+       $(CC) $(LDFLAGS) -o $@ $< -L src -lxen
+
 
 .PHONY: install
 install: all